package org.smartboot.flow.example.spring;

import org.smartboot.flow.core.FlowEngine;
import org.smartboot.flow.spring.extension.ReloadNotify;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

/**
 * @author huqiang
 * @since 2023/2/1 16:57
 */
public class RefEngineService {

    @ReloadNotify("testEngine")
    @Autowired
    @Qualifier("testEngine")
    private FlowEngine flowEngine;

    public FlowEngine getFlowEngine() {
        return this.flowEngine;
    }
}
